<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib prefix="s" uri="/struts-tags"%>
	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>loginIn</title>
</head>
<body>
<s:debug></s:debug>
	<s:bean var="u" name="user">
	   <s:param name="name" value="'polly'"></s:param>
	   <s:param name="age">20</s:param>
	
	   姓名：<s:property value="name"/>
	  年龄：<s:property value="age"/>
	</s:bean>
	
	<s:set name="p" value="20" scope="session"/>
	<s:property value="#session.p"/>
	<s:set name="p1" value="30" scope="application"/>
	<s:property value="#attr.p1"/>
</body>
</html>